﻿
namespace tju.cme.BookStore2024.webapi.Models.Tools
{
    
    public class ReturnMessage
    {
        /// <summary>
        /// 成功标志
        /// </summary>
        public Boolean IsSuccess { get; set; } 

        /// <summary>
        /// 错误信息
        /// </summary>
        public String Message { get; set; } = null!;

        /// <summary>
        /// 回传数据
        /// </summary>
        public object? Data { get; set; }

   
        public ReturnMessage() { }

       
        public ReturnMessage(object? data) { 
            this.IsSuccess= true;
            this.Message = "";
            this.Data = data;
         }
    }
}
